package com.github.xaidanwang.authorization.server.controller;

import com.github.xaidanwang.response.CommonResult;
import com.github.xaidanwang.response.ConstantEnum;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author wang yi fei
 * @date 2019/10/5 14:45
 */
@RestController
public class Test {

	@RequestMapping(value = "/test",method = RequestMethod.POST)
	public CommonResult getTest(){
		return CommonResult.build(ConstantEnum.GLOBAL_SUCCESS);
	}

}
